package com.peas.platform.module.icims.expenditure.expenses.domain.impl;

import com.peas.platform.framework.mybatisplus.domain.BaseDomainImpl;
import com.peas.platform.framework.mybatisplus.repository.BaseRepository;
import com.peas.platform.module.icims.expenditure.expenses.adapter.repository.ExpenditureReimbursementTrafficRepository;
import com.peas.platform.module.icims.expenditure.expenses.adapter.repository.po.ExpenditureReimbursementTrafficPo;
import com.peas.platform.module.icims.expenditure.expenses.domain.ExpenditureReimbursementTrafficDomain;
import com.peas.platform.module.icims.expenditure.expenses.dto.ExpenditureReimbursementTrafficDto;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

@Component
public class ExpenditureReimbursementTrafficDomainImpl extends BaseDomainImpl<ExpenditureReimbursementTrafficDto, ExpenditureReimbursementTrafficPo> implements ExpenditureReimbursementTrafficDomain {

    @Resource
    private ExpenditureReimbursementTrafficRepository expenditureReimbursementTrafficRepository;

    @Override
    public BaseRepository<ExpenditureReimbursementTrafficPo> getMapper() {
        return expenditureReimbursementTrafficRepository;
    }

    @Override
    public Class<? extends BaseRepository<ExpenditureReimbursementTrafficPo>> getRepositoryClass() {
        return ExpenditureReimbursementTrafficRepository.class;
    }

}
